package com.liangtian.mdm.dm.tree.model;

public class Tree {

    //主键
    private String id;
    //父ID
    private String pid;
    //树显示节点
    private String treeNodeName;
    //是否包含子节点
    private boolean isParent;
    //子节点数量
    private int sons;

    // 审核状态
    private Integer state;
    // 数据状态
    private Integer status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public int getSons() {
        return sons;
    }

    public void setSons(int sons) {
        this.sons = sons;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public boolean isIsParent() {
        return isParent;
    }

    public void setIsParent(boolean isParent) {
        this.isParent = isParent;
    }

    public String getTreeNodeName() {
        return treeNodeName;
    }

    public void setTreeNodeName(String treeNodeName) {
        this.treeNodeName = treeNodeName;
    }

}
